﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

using Vega.USiteBuilder;
using SPCFMedicineInformer.DocumentTypes.Base;
using SPCFMedicineInformer.Masterpages;

namespace SPCFMedicineInformer.DocumentTypes
{
    [DocumentType(Name = "FrontPage",IconUrl = "settingDomain.gif",
        AllowedTemplates = new string[] { "FrontPageTemplate" },
        DefaultTemplate = typeof(FrontPageTemplate)
        )]
    public class FrontPage : PageBase
    {
        

        [DocumentTypeProperty(UmbracoPropertyType.Textstring, Name = "Slideshow", Description = "delimited by comma.",
            Tab = Constants.Tabs.Content)]
        public string Slideshow { get; set; }

        [DocumentTypeProperty(UmbracoPropertyType.RichtextEditor, Name = "Left Content", Description = "",
            Tab = Constants.Tabs.Content)]
        public string LeftContent { get; set; }

        [DocumentTypeProperty(UmbracoPropertyType.RichtextEditor, Name = "Right Content", Description = "",
            Tab = Constants.Tabs.Content)]
        public string RightContent { get; set; }

        [DocumentTypeProperty(UmbracoPropertyType.RichtextEditor, Name = "Footer Text", Description = "",
            Tab = Constants.Tabs.Content)]
        public string FooterText { get; set; }
    }
}
